package com.car.carsharing.mapper;

import com.car.carsharing.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    User getUser(User user);

    int regist(User user);

    int update(User user);

    int delete(@Param("userId") Integer userId);
}
